/*
 * @Author:
 * @Date: 2022-09-01 16:36:40
 * @LastEditors:
 * @LastEditTime: 2023-04-24 14:34:37
 * @FilePath: \immoka-admin\src\api\sys\anchorList.js
 * @Description:
 *
 * Copyright (c) 2022 by  , All Rights Reserved.
 */
import request from '@/utils/request'

// 主播列表
export function listData(params) {
  return request({
    url: `/anchor/list`,
    method: 'get',
    params: params
  })
}

// 主播列表
export function editLevel(data) {
  return request({
    url: `/anchor/anchor-edit`,
    method: 'post',
    data
  })
}

// 主播类型列表
export function anchorTypeList() {
  return request({
    url: `/anchor/anchor-type-list`
  })
}

// 主播详情
export function streamerDetail(params) {
  return request({
    url: `/anchor/detail`,
    method: 'get',
    params: params
  })
}

//
export function setMvp(params) {
  return request({
    url: `/streamer/set-mvp`,
    method: 'post',
    data: params
  })
}

// v8面试邀请
export function V8Invitation(params) {
  return request({
    url: `/streamer/interview/send-mvp`,
    method: 'post',
    data: params
  })
}

// 获取面试信息
export function interviewStart(params) {
  return request({
    url: `/streamer/interview/start`,
    method: 'get',
    params: params
  })
}

// 面试结果
export function interviewResult(params) {
  return request({
    url: `/streamer/interview/result`,
    method: 'post',
    data: params
  })
}

// 资质审核列表(以前资格审核)
export function applyList(params) {
  return request({
    url: `/streamer/apply/list`,
    method: 'get',
    params: params
  })
}

// 审核详情
export function applyDetail(params) {
  return request({
    url: `/streamer/apply/detail`,
    method: 'get',
    params: params
  })
}

// 取消认证
export function streamerCancel(params) {
  return request({
    url: `/anchor/cancel`,
    method: 'post',
    data: params
  })
}

// 主播资格创建面试
export function streamerInterview(params) {
  return request({
    url: `/streamer/interview`,
    method: 'put',
    data: params
  })
}

//
export function applyAudit(params) {
  return request({
    url: `/streamer/apply/audit`,
    method: 'post',
    data: params
  })
}


// 歌单列表
export function songSheetList(params) {
  return request({
    url: `/anchor/song-sheet/list`,
    method: 'get',
    params: params
  })
}

// M豆/积分流水
export function walletLog(params) {
  return request({
    url: `/anchor/wallet-log`,
    method: 'get',
    params: params
  })
}

// 歌单详情
export function songSheetDetail(params) {
  return request({
    url: `/anchor/song-sheet/detail`,
    method: 'get',
    params: params
  })
}
// 重置歌单
export function songSheetReset(params) {
  return request({
    url: `/anchor/song-sheet/reset`,
    method: 'post',
    data: params
  })
}
// 删除歌曲
export function songSheetDel(params) {
  return request({
    url: `/anchor/song-sheet/del`,
    method: 'get',
    params: params
  })
}

// M豆/积分流水---导出
export function walletLogExport(params) {
  return request({
    url: `/anchor/wallet-log/export`,
    method: 'get',
    params: params
  })
}
